package cc.linker.steplink.crm.merchant.dao.acs;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ExercisePcDao {

    void addExercise(Map<String, Object> param);

    void updateExercise(Map<String, Object> param);

    void delExercise(Map<String, Object> param);

    List<Map<String, Object>> list(Map<String, Object> param);

    String getGoodsNameByIds(String goodsIds);

    Map<String, Object> getExercise(Map<String, Object> param);

    List<Map<String, Object>> getGiftListByIds(String goodsIds);

    Integer getGoodsNumByID(String goodsID);

    void updateExerciseState(@Param("id") String id,@Param("state") int state);

    Integer IfRepeat(Map<String, Object> param);

    Integer getGoodsStateByID(String goodsID);

    Integer getRepeatTitleCount(Map<String, Object> param);

    Map<String, Object> getExerciseNumsById(String id);
}
